package am.fp
{
  import fl.controls.Button;                    
  
  /**
   * Override of the Button class.
   * Change the alpha value when the button is disabled.
   */
  public class ToolbarButton extends Button
  {
    override public function set enabled(bEnabled: Boolean): void
    {
      super.enabled = bEnabled;
      alpha = bEnabled ? 1. : .4;
    }
  }
}
